package la.iok.hzsvn.lewin.movie.shopmovie.mapper;

import la.iok.hzsvn.lewin.movie.core.shopmovie.param.CouponDefinitionListParam;
import la.iok.hzsvn.lewin.movie.core.shopmovie.param.CouponDefinitionParam;
import la.iok.hzsvn.lewin.movie.shopmovie.entity.CouponDefinition;
import la.iok.hzsvn.lewin.mybatis.mapper.BaseMapper;

import java.util.Collection;
import java.util.List;

public interface CouponDefinitionMapper extends BaseMapper<CouponDefinition> {
    void updateByParam(Long id, CouponDefinitionParam param);

    List<CouponDefinition> listPage(String orderColumn, String order, Collection<Long> orgUnitIds,
                                    CouponDefinitionListParam listParam);
}
